import store from '@/store/index'
export default {
  methods: {
    // assignPrem分配按钮权限
    assignPrem(type) {
      const points = store.state.user.userinfo.points
      return points.some(v => v === type)
    }
  }
}
